import java.lang.reflect.Method;

public class AppMain {
    public static void main(String[] args) throws Exception{
        System.out.println("主模块中AppMain类总的main方法执行了");

        Class<?> aClass = Class.forName("org.example.Main");
        Object o = aClass.newInstance();
        Method printInfo = aClass.getDeclaredMethod("printInfo");
        printInfo.invoke(o);
    }
}
